/**
 * @author elbek
 * 8:48:21 PM Feb 20, 2012
 */
package framework.customer.impl;

import framework.customer.BaseCustomer;
import framework.customer.IPerson;
/**
 * This class if for personal customers,
 * Personal customers and Credit Card customers can use it
 * @author aergashev
 *
 */
public class PersonalCustomer extends BaseCustomer implements IPerson {

	protected String birthDate;
	public PersonalCustomer(String name, String street, String city,
			String zip, String email,String state, String birthDate){
		super(name,street,city,zip,email,state);
		this.birthDate = birthDate;
	}
	/*
	 * @see framework.customer.IPerson#getBirthDate()
	 */
	public String getBirthDate() {
		// TODO Auto-generated method stub
		return birthDate;
	}
	public void setBirthDate(String birhtDate) {
		this.birthDate = birhtDate;
		
	}

    public Type getType() {
        return Type.Personal;
    }

}
